<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
 <%
 //java代码
 //向控制台输出
  System.out.print("Hello JSP");
 //向页面输出
 out.print("no zuo no die why you try, no try no high give me five");
 out.print("");
 %>
</body>
</html>